﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp2
{
    class Program
    {
        static void Main(string[] args)
        {
            Cat c = new Cat("猫");
            c.have();
            c.Climb();

            Console.WriteLine();

            Dog d = new Dog("狗");
            d.have();
            d.Swim();

            Console.WriteLine();

            Duck d1 = new Duck("鸭子");
            d1.have();
            d1.Swim();

            Console.WriteLine();

            Monkey M = new Monkey("猴子");
            M.have();
            M.Climb();
            

            Console.ReadKey();
        }
    }
}
